import RPi.GPIO as gpio
import time 

def init():
    gpio.setwarnings(False)
    gpio.setmode(gpio.BOARD)
    gpio.setup(11, gpio.OUT)
    pass

def beep():
   for i in range(1, 6):
       gpio.output(11, gpio.LOW)
       time.sleep(0.5)
       gpio.output(11, gpio.HIGH)
       time.sleep(0.5)
       print("make sound")


if __name__ == "__main__":
    time.sleep(2)
    init()
    beep()
    gpio.cleanup()
    print("clean up")

